< previous page page_543 next page >

Page 543
Creating a Database with Other Tools
Of course, Visual Data Manager is not the only way to create a database. It is simply a sample application provided with Visual Basic that happens to perform a very handy function. Many other tools that are available allow you and your users to create and maintain databases.
Using Microsoft Access
One option for creating a Jet database for use with a Visual Basic application is to use Microsoft Access. Access has a good visual design interface for setting up tables, indexes, queries, and table relationships. Obviously, this option is available only if you own a copy of Access. Note that Visual Basic can work with databases created with any version of Access; however, to exploit the power of 32-bit databases, you must use Access 95 or later.
Third-Party Database Designers
In addition to Visual Data Manager and Access, many third-party programs enable you to create and maintain Jet databases. Some of them provide you with advanced data modeling capabilities. These modeling capabilities enable you to determine easily what information goes in which table and to set up the relations easily between the tables. Then, after your data model is complete, the program can automatically generate the database for you.
However, you should be wary, or at least cautious, of third-party database management solutions. Some of them are focused on a very specific purpose; others offer more generalized capabilities. Usually, Access itself is far more powerful than a general-purpose third-party application. However, if you have a specific need that can be addressed by a more-focused application, by all means consider it. A vendor or author should be able to allow you to test the system to make sure that it meets your specific needs.
Why Use a Program Instead of Visual Data Manager?
In this chapter, you have learned that the Visual Data Manager application and Microsoft Access can create, modify, and load data into a database. So, you might be asking, "Why do I ever need to bother with the Visual Basic program commands for these functions?" The answer is that, in many cases, you don't. If you have direct control over the database (that is, you are the only user or you can access the database at any time), you may never need to use program commands to create or change a database.
If, however, you have an application with many userseither throughout your company or across the countryusing a program for data management offers several benefits. One benefit is in initial installation. If the database creation routines are in the program itself, you don't have to include empty database files on your setup disks. Leaving out these files can reduce the number of disks required, and it certainly reduces the possibility that a key file is left out.

 
< previous page page_543 next page >